package main

import (
    "os"
    "fmt"
    "strconv"
)

func main(){

    //err := os.MkdirAll("/root/1/2/3", os.ModePerm)
    err := os.Remove("/root/11.txt")  
    if err!=nil{
        fmt.Println(err) 
    }

    fileName := "/root/1.py"

    f, err := os.OpenFile(fileName, os.O_WRONLY|os.O_TRUNC, 0644)
    defer f.Close()
    if err != nil {
        fmt.Println(err.Error())
    } else {
        _,err=f.Write([]byte(strconv.Itoa(23)+"\n"))
    }



}
